setInterval(function() {
    if(localStorage.getItem('token')) {
        window.location.href = '../background/background.html';
    }    
}, 100)